using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("ReturningPlayerOptOutDialog")]
	public class ReturningPlayerOptOutDialog : DialogBase
	{
		[Attribute38("ReturningPlayerOptOutDialog.Info")]
		public class Info : MonoClass
		{
			public Info(IntPtr address, string className)
				: base(address, className)
			{
			}

			public Info(IntPtr address)
				: this(address, "Info")
			{
			}
		}

		public UIBButton m_cancelButton => method_3<UIBButton>("m_cancelButton");

		public UIBButton m_confirmButton => method_3<UIBButton>("m_confirmButton");

		public UberText m_packCountText => method_3<UberText>("m_packCountText");

		public static int PACK_COUNT => MonoClass.smethod_6<int>(TritonHs.MainAssemblyPath, "", "ReturningPlayerOptOutDialog", "PACK_COUNT");

		public ReturningPlayerOptOutDialog(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ReturningPlayerOptOutDialog(IntPtr address)
			: this(address, "ReturningPlayerOptOutDialog")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Update()
		{
			method_8("Update");
		}

		public new void Show()
		{
			method_8("Show");
		}

		public new void Hide()
		{
			method_8("Hide");
		}

		public void SetInfo(Info info)
		{
			method_8("SetInfo", info);
		}

		public void OnCancelButtonPress(UIEvent e)
		{
			method_8("OnCancelButtonPress", e);
		}

		public void OnConfirmButtonPress(UIEvent e)
		{
			method_8("OnConfirmButtonPress", e);
		}
	}
}
